package com.nutricia.common.api.request;

import java.util.List;

/**
 * 保存角色所拥有的权限
 *
 * @author: huangsheng
 * @date: 2017/10/26
 */
public class SaveRolePermissionReq {

    /**
     * 角色ID
     */
    private String roleId;

    /**
     * 角色拥有的权限ID集合
     */
    private List<String> permissionIds;

    /**
     * Gets role id.
     *
     * @return the role id
     */
    public String getRoleId() {
        return roleId;
    }

    /**
     * Sets role id.
     *
     * @param roleId the role id
     */
    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    /**
     * Gets permission ids.
     *
     * @return the permission ids
     */
    public List<String> getPermissionIds() {
        return permissionIds;
    }

    /**
     * Sets permission ids.
     *
     * @param permissionIds the permission ids
     */
    public void setPermissionIds(List<String> permissionIds) {
        this.permissionIds = permissionIds;
    }
}
